package com.qiufenfen.cloud.order;


import com.qiufenfen.cloud.order.config.DefaultFeignConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(defaultConfiguration = DefaultFeignConfiguration.class)  // 启用 Feign 客户端
@MapperScan("com.qiufenfen.cloud.order.mapper")
@SpringBootApplication //@SpringBootConfiguration + @EnableAutoConfiguration + @ComponentScan
public class OrderApplication
{
    public static void main( String[] args )
    {
        SpringApplication.run(OrderApplication.class, args);
    }
}
